﻿using Core.Domain.Common;

namespace Core.Domain.Companys
{
    /// <summary>
    /// 公司属性类
    /// </summary>
    public partial class CompanyAttribute : BaseEntity
    {
        /// <summary>
        /// 公司ID
        /// </summary>
        public int CompanyId { get; set; }

        /// <summary>
        /// 属性主键
        /// </summary>
        public int AttributeId { get; set; }

        /// <summary>
        /// 权重
        /// </summary>
        public int DisplayOrder { get; set; }

        /// <summary>
        /// 所属公司
        /// </summary>
        public virtual Company Company { get; set; }

        /// <summary>
        /// 属性值Id
        /// </summary>
        public int ValueId { get; set; }

        /// <summary>
        /// 所属属性
        /// </summary>
        public virtual ExtendedAttribute Attribute { get; set; }
    }
}
